.class Lcom/skyhookwireless/_sdkub;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/hardware/SensorEventListener;


# static fields
.field private static final z:Ljava/lang/String;


# instance fields
.field final _sdka:Lcom/skyhookwireless/_sdkuc;


# direct methods
.method static constructor <clinit>()V
    .locals 8

    const-string v0, "$\u0006,Y@5\u000c6\r\u00054\u00011\u0015@c\n4\u0016V&\r"

    invoke-virtual {v0}, Ljava/lang/String;->toCharArray()[C

    move-result-object v0

    array-length v1, v0

    const/4 v2, 0x0

    const/4 v3, 0x1

    if-gt v1, v3, :cond_2

    :cond_0
    move v3, v1

    move v4, v2

    move-object v1, v0

    move v7, v2

    move-object v2, v0

    move v0, v7

    :goto_0
    aget-char v5, v1, v0

    rem-int/lit8 v6, v4, 0x5

    packed-switch v6, :pswitch_data_0

    const/16 v6, 0x25

    :goto_1
    xor-int/2addr v5, v6

    int-to-char v5, v5

    aput-char v5, v1, v0

    add-int/lit8 v0, v4, 0x1

    if-nez v3, :cond_1

    move-object v1, v2

    move v4, v0

    move v0, v3

    goto :goto_0

    :cond_1
    move v1, v3

    move-object v7, v2

    move v2, v0

    move-object v0, v7

    :cond_2
    if-gt v1, v2, :cond_0

    new-instance v1, Ljava/lang/String;

    invoke-direct {v1, v0}, Ljava/lang/String;-><init>([C)V

    invoke-virtual {v1}, Ljava/lang/String;->intern()Ljava/lang/String;

    move-result-object v0

    sput-object v0, Lcom/skyhookwireless/_sdkub;->z:Ljava/lang/String;

    return-void

    :pswitch_0
    const/16 v6, 0x43

    goto :goto_1

    :pswitch_1
    const/16 v6, 0x69

    goto :goto_1

    :pswitch_2
    const/16 v6, 0x58

    goto :goto_1

    :pswitch_3
    const/16 v6, 0x79

    goto :goto_1

    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_0
        :pswitch_1
        :pswitch_2
        :pswitch_3
    .end packed-switch
.end method

.method constructor <init>(Lcom/skyhookwireless/_sdkuc;)V
    .locals 0

    iput-object p1, p0, Lcom/skyhookwireless/_sdkub;->_sdka:Lcom/skyhookwireless/_sdkuc;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onAccuracyChanged(Landroid/hardware/Sensor;I)V
    .locals 0

    return-void
.end method

.method public onSensorChanged(Landroid/hardware/SensorEvent;)V
    .locals 8

    iget-object v6, p0, Lcom/skyhookwireless/_sdkub;->_sdka:Lcom/skyhookwireless/_sdkuc;

    monitor-enter v6

    :try_start_0
    iget-object v0, p0, Lcom/skyhookwireless/_sdkub;->_sdka:Lcom/skyhookwireless/_sdkuc;

    invoke-static {v0}, Lcom/skyhookwireless/_sdkuc;->_sdkb(Lcom/skyhookwireless/_sdkuc;)Z

    move-result v0

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/skyhookwireless/_sdkub;->_sdka:Lcom/skyhookwireless/_sdkuc;

    invoke-static {v0}, Lcom/skyhookwireless/_sdkuc;->_sdkc(Lcom/skyhookwireless/_sdkuc;)Lcom/skyhookwireless/_sdkfb;

    move-result-object v0

    sget-object v1, Lcom/skyhookwireless/_sdkub;->z:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lcom/skyhookwireless/_sdkfb;->_sdkb(Ljava/lang/String;)V

    monitor-exit v6

    :goto_0
    return-void

    :cond_0
    iget-object v0, p0, Lcom/skyhookwireless/_sdkub;->_sdka:Lcom/skyhookwireless/_sdkuc;

    invoke-static {v0}, Lcom/skyhookwireless/_sdkuc;->_sdkd(Lcom/skyhookwireless/_sdkuc;)Ljava/util/List;

    move-result-object v7

    new-instance v0, Lcom/skyhookwireless/_sdksb;

    iget-object v1, p0, Lcom/skyhookwireless/_sdkub;->_sdka:Lcom/skyhookwireless/_sdkuc;

    iget-object v2, p1, Landroid/hardware/SensorEvent;->values:[F

    const/4 v3, 0x0

    aget v2, v2, v3

    iget-object v3, p1, Landroid/hardware/SensorEvent;->values:[F

    const/4 v4, 0x1

    aget v3, v3, v4

    iget-object v4, p1, Landroid/hardware/SensorEvent;->values:[F

    const/4 v5, 0x2

    aget v4, v4, v5

    invoke-static {}, Lcom/skyhookwireless/_sdkwb;->_sdkd()Lcom/skyhookwireless/_sdkwb;

    move-result-object v5

    invoke-direct/range {v0 .. v5}, Lcom/skyhookwireless/_sdksb;-><init>(Lcom/skyhookwireless/_sdksc;FFFLcom/skyhookwireless/_sdkwb;)V

    invoke-interface {v7, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    iget-object v0, p0, Lcom/skyhookwireless/_sdkub;->_sdka:Lcom/skyhookwireless/_sdkuc;

    invoke-static {v0}, Lcom/skyhookwireless/_sdkuc;->_sdke(Lcom/skyhookwireless/_sdkuc;)V

    monitor-exit v6

    goto :goto_0

    :catchall_0
    move-exception v0

    monitor-exit v6
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v0
.end method
